#ifndef PERSPECTIVE_H
#define PERSPECTIVE_H

#include "pbrt.h"
#include "camera.h"

// PerspectiveCamera Declarations
class PerspectiveCamera : public ProjectiveCamera {
public:
    // PerspectiveCamera Public Methods
    PerspectiveCamera(const Transform &cam2world,
        const float screenWindow[4], float sopen, float sclose,
        float lensr, float focald, float fov, Film *film);
    float GenerateRay(const CameraSample &sample, Ray *) const;
private:
    // PerspectiveCamera Private Data
    Vector dxCamera, dyCamera;
};



#endif // PERSPECTIVE_H
